package com.qqtop10.manager.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qqtop10.manager.dao.GivevalueMapper;
import com.qqtop10.manager.model.Givevalue;
import com.qqtop10.manager.model.PagingArgs;
import com.qqtop10.manager.service.GivevalueService;

@Service("GivevalueService")
public class GivevalueServiceImpl extends BaseService implements GivevalueService {
	@Autowired
	private GivevalueMapper givevalueMapper;
	@Override
	public List<Givevalue> all(Givevalue input,PagingArgs pagingArgs){
		return givevalueMapper.all(asMap(input, pagingArgs));
	}
	@Override
	public int count (Givevalue input){
		return givevalueMapper.count(input);
	}
	@Override
	public int addGiveValue(Givevalue input){
		return givevalueMapper.addGiveValue(input);
	}
	@Override
	public int updataUserMoney(Givevalue input){
		return givevalueMapper.updataUserMoney(input);
	}

}
